SplPage.cpp


// SplPage.cpp : implementation file
//

#include "stdafx.h"
#include "MfcSplin.h"
#include "SplPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSplinePage dialog


CSplinePage::CSplinePage(CWnd* pParent /*=NULL*/)
	: CDialog(CSplinePage::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSplinePage)
	m_nSegments = 0;
	m_bControlPoints = FALSE;
	m_bFrame = FALSE;
	m_bSmoothing = FALSE;
	//}}AFX_DATA_INIT
}


void CSplinePage::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSplinePage)
	DDX_Text(pDX, IDC_SEGMENTS, m_nSegments);
	DDV_MinMaxUInt(pDX, m_nSegments, 1, 200);
	DDX_Check(pDX, IDC_SHOW_CONTROL_POINTS, m_bControlPoints);
	DDX_Check(pDX, IDC_SHOW_FRAME, m_bFrame);
	DDX_Check(pDX, IDC_SMOOTHING, m_bSmoothing);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSplinePage, CDialog)
	//{{AFX_MSG_MAP(CSplinePage)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSplinePage message handlers

SDK Top API Reference TurboCAD Home Page TurboCAD Programming Forums